﻿namespace IDAL
{
    public interface IMemberDAL<T>
    {
        Task<int> AddMemberAsync(T t);
        Task<int>AddMemberRangeAsync(List<T> list);
        Task<int>UpdateMemberAsync(T t);
        Task<int> UpdateMemberRangeAsync(List<T> list);
        Task<int> DeleteMemberAsync(T t);
        Task<int> DeleteMemberRangeAsync(List<T> list);
        IQueryable<T> GetMembersAsync();
    }
}
